package com.junqi.live.room.application.convert;

import com.junqi.live.room.application.dto.LiveTypeDto;
import com.junqi.live.room.domain.bo.LiveTypeBo;
import com.junqi.live.room.infra.basic.entity.LiveType;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface LiveTypeDtoConvert {

    LiveTypeDtoConvert INSTANCE = Mappers.getMapper(LiveTypeDtoConvert.class);

    LiveTypeBo convertDtoToBo(LiveTypeDto liveTypeBo);

    LiveTypeDto convertBoToDtO(LiveTypeBo liveType);

}
